package com.luzh.myspring.beans.factory.support;

import com.luzh.myspring.beans.BeanException;
import com.luzh.myspring.beans.factory.config.BeanDefinition;

/**
 * 注册bean
 */
public interface BeanDefinitionRegistry {
    void registerBeanDefinition(String beanName, BeanDefinition beanDefinition);

    BeanDefinition getBeanDefinition(String beanName) throws BeanException;

    boolean containsBeanDefinition(String beanName);

//    String[] getBeanDefinitionNames();
}
